<?php
return CMap::mergeArray(
	require(dirname(__FILE__).'/main.php'),
	array(
		// Put back-end settings there.
		'components'=>array(
			'errorHandler'=>array(
				'errorAction'=>'site/error',
			),
			'urlManager'=>array(
			    'urlFormat'=>'path',
			    'showScriptName'=>false,
			    'rules'=>array(
					'admin'=>'site/index',
					'admin/<controller:\w+>'=>'<controller>',
					'admin/<controller:\w+>/<action:\w+>'=>'<controller>/<action>',
				),
			),
		),
	)
);